﻿using MangoMes.Commont.DTOs;
using MediatR;

namespace MangoMes.Write.API.Applications.SupplierSearchWrite
{
    public class SupplierCreateCommand : IRequest<ResultsDTO>
    {
        /// <summary>
        /// 供应商主键
        /// </summary>
        public int SupplierId { get; set; }
        /// <summary>
        /// 供应商编码
        /// </summary>
        public string SupplierNo { get; set; }
        /// <summary>
        /// 供应商名称
        /// </summary>
        public string SupplierName { get; set; }
        /// <summary>
        /// 供应商简称
        /// </summary>
        public string SupplierShort { get; set; }
        /// <summary>
        /// 供应商英文名称
        /// </summary>
        public string SupplierEnglishName { get; set; }
        /// <summary>
        /// 供应商简介
        /// </summary>
        public string SupplierIntro { get; set; }
        /// <summary>
        /// 供应商地址
        /// </summary>
        public string SupplierAddres { get; set; }
        /// <summary>
        /// 供应商等级主键
        /// </summary>
        public int SupplierClassId { get; set; }
        /// <summary>
        /// 供应商评分
        /// </summary>
        public int SupplieScore { get; set; }
        /// <summary>
        /// 供应商官网地址
        /// </summary>
        public string SupplierOfficialAddres { get; set; }
        /// <summary>
        /// 供应商邮箱地址
        /// </summary>
        public string SupplierEmailAddres { get; set; }
        /// <summary>
        /// 供应商电话
        /// </summary>
        public string SupplierPhone { get; set; }
        /// <summary>
        /// 联系人1
        /// </summary>
        public string SupplierOnePeople { get; set; }
        /// <summary>
        /// 联系人1-电话
        /// </summary>
        public string SupplierOnePhone { get; set; }
        /// <summary>
        /// 联系人1-邮箱
        /// </summary>
        public string SupplierOneEmail { get; set; }
        /// <summary>
        /// 联系人2
        /// </summary>
        public string SupplierTwoPeople { get; set; }
        /// <summary>
        /// 联系人2-电话
        /// </summary>
        public string SupplierTwoPhone { get; set; }
        /// <summary>
        /// 联系人2-邮箱
        /// </summary>
        public string SupplierTwoEmail { get; set; }
        /// <summary>
        /// 统一社会信用代码
        /// </summary>
        public string SupplierCredit { get; set; }
        /// <summary>
        /// 是否启用
        /// </summary>
        public int SupplierIsNo { get; set; } //0 = 禁用，1=启用
        /// <summary>
        /// 供应商LOGO地址
        /// </summary>
        public string SupplierLOGO { get; set; }
        /// <summary>
        /// 备注
        /// </summary>
        public string SupplierRemark { get; set; }
        /// <summary>
        /// 逻辑删除状态
        /// </summary>
        public int SupplierStart { get; set; }
    }
}
